package com.example.a086.httpdemo.http.base;

/**
 * Created by 086 on 2018/5/8.
 */

public interface EngineCallback {
    void onSuccess(String json);

    void onFailed(String errorMsg);

    EngineCallback DEFAULT_ENGINE_CALLBACK =new EngineCallback() {
        @Override
        public void onSuccess(String  json) {

        }

        @Override
        public void onFailed(String errorMsg) {

        }
    };
}
